package com.example.crmdemo.Crm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName("workorder")
public class Workorder {
    @TableId(value = "wo_id", type = IdType.AUTO)
    private Long id;

    @TableField("o_name")
    private String operationName;

    @TableField("c_name")
    private String customerName;

    @TableField("wo_status")
    private String status;

    @TableField("person")
    private String person;

    @TableField("wo_area")
    private String area;

    @TableField("wocreate_time")
    private Date createTime;
}
